<template>
  <div class="page-subject-rent">

    <div class="subject-main">
      <!-- 专题页左边     -->
      <div class="main"><h2>上海<!-- --> ·租车专题</h2>
        <el-row :gutter="20"  style="width: 100%">
          <el-col :span="12" v-for="item in 10">
            <a class="subject-item" href="/topic/1" style="text-decoration: none">
              <div class="header">
                <img src="//carphoto.atzuche.com/pcWebService/imageFile/1695181075145.jpg">
                <h3>旅行租车</h3>
              </div>
              <div class="text" style="color: rgb(102, 102, 102)"><p>
                租车去旅行，让我们帮您预定一辆车，带您去追寻未知的风景，让您的旅行之路更加精彩！在这个假期，让我们一起租车去旅行，享受路上的每一刻！</p>
              </div>
            </a>
          </el-col>
        </el-row>


      </div>
      <!-- 专题页右边     -->
      <div class="aside">
        <div class="com-news-panel">
          <header>
            <h2 style="font-size: 20px;font-weight: 700">24小时文章
              <img style="width: 30px" src="">
            </h2>
          </header>
          <div class="list">
            <a href="#" class="news-item article-item" v-for="item in 5" style="text-decoration: none">
             租车需要注意的事项,怎么样租车不踩坑？.....[查看]
            </a>

          </div>
        </div>
      </div>
    </div>
  </div>
</template>
<script setup>

</script>


<style scoped>
  .page-subject-rent {
    width: 1100px;
    padding-bottom: 40px;
    margin: 0 auto 20px;

  }

  .at-breadcrumb>a {
    display: block;
    color: #999;
  }


  .at-breadcrumb>span {
    display: block;
    padding: 0 5px;
  }

  .page-subject-rent .subject-main {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    margin-bottom: 40px;
  }


  .page-subject-rent .subject-main .main {
    -ms-flex: 1 1;
    flex: 1 1;
    width: 100%;
    margin-right: 20px;
    border: 1px solid #f5f5f5;
    padding: 20px;
    border-radius: 5px;
  }

  .main {
    width: 1024px;
  }


  .page-subject-rent .subject-main .main>h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
  }

  .page-subject-rent .subject-main .main .list {
    overflow: hidden;
    margin-right: -20px;
  }


  .page-subject-rent .subject-main .main .subject-item {

    float: left;

    display: block;
    -webkit-transition: all .2s ease-out;
    transition: all .2s ease-out;
    border-radius: 5px;
  }


  .page-subject-rent .subject-main .main .subject-item .header {
    display: block;
    position: relative;
    width: 100%;
    height: 150px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    overflow: hidden;
  }

  .page-subject-rent .subject-main .main .subject-item .header img {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
  }

  .page-subject-rent .subject-main .main .subject-item .header h3 {
    position: absolute;
    left: 15px;
    bottom: 15px;
    font-size: 17px;
    color: #fff;
    font-weight: 700;
  }


  .page-subject-rent .subject-main .main .subject-item .text {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border: 1px solid #f5f5f5;
    border-top: none;
    padding: 15px;
  }
  .page-subject-rent .subject-main .main .subject-item .text p {
    font-size: 14px;
    line-height: 20px;
    height: 60px;
    overflow: hidden;
  }

  .page-subject-rent .subject-main .main .pagination {
    margin-top: 20px;
  }



  .page-subject-rent .subject-main .aside {
    width: 360px;
  }

  .com-news-panel {
    border: 1px solid #f5f5f5;
    padding: 20px;
    border-radius: 5px;
  }

  .com-news-panel header {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
  }
  .com-news-panel header h2 {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
  }

  .com-news-panel header>* {
    font-weight: 700;
  }

  .com-news-panel .list {
    display: block;
    overflow: hidden;
  }
  .com-news-panel a.news-item {
    display: -ms-flexbox;
    display: flex;
    color: #666;
    font-size: 12px;
    margin-bottom: 15px;
    background: url() 0 no-repeat;
    background-size: 4px auto;
    padding-left: 10px;
  }
  a.news-item:hover{
    color: #00bc93;
  }
  .com-news-panel a.news-item:last-child {
    margin-bottom: 0;
  }
  .com-news-panel a.news-item .p {
    overflow: hidden;
    white-space: nowrap;
    max-width: 80%;
  }
  .com-news-panel a.news-item .dot {
    display: block;
    width: 100%;
    -ms-flex: 1 1;
    flex: 1 1;
    background: url() 0 repeat-x;
    background-size: 4px auto;
    margin: 0 10px;
  }

  .page-subject-rent .hot-cars-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
  }

































</style>